const gulp = require('gulp'); 
// const babel = require('gulp-babel');
var webpack = require('gulp-webpack');

var config = require('./webpack.config');
gulp.task('default', function() {
  // 将你的默认的任务代码放在这
  gulp.src('./src')
      .pipe(webpack(config))
      .pipe(gulp.dest('dist'));
});